     <%@ page language="java" pageEncoding="utf-8"%>
       <%@page import="com.util.PublicToolShowGooodsTypeList"%>
       <%@page import="com.entity.GoodsType"%>
       <%@page import="java.util.ArrayList"%>
       <%@page import="com.util.PublicToolShowDetailTypeList"%>
<%@page import="com.util.PublicToolGetTypeDetailInfo"%>
<%@page import="com.dao.GoodsTypeDetailInfoDAO"%>
       <%@page import="com.entity.GoodsType"%>
<%@page import="com.entity.GoodsTypeDetail"%>




  <!-- 全站搜索表单 -->
  <div class="globalsearchformzone"  align="right">

  </div>
  <!-- 网站标志 -->

  <div  style=" margin-top:10px;"> <a href="/index.php#"><img src="./images/logo.jpg" width="100%" high="100%" border="0"></a> </div>

  <!-- 二级下拉菜单 -->

  <div style=" margin-top:10px; background:#324143; width:1002px; height:30px">
    <ul id="dropmenu">
      <div class="now"> <span id="k">DDDD </span></div>

      <li><a href="../guahao">首&nbsp;&nbsp;&nbsp;&nbsp;页</a> </li>

       <% PublicToolShowGooodsTypeList.showGoodsallTypeList(request, response);
       ArrayList<GoodsType> goodsTypeList = (ArrayList<GoodsType>)request.getAttribute("goodsTypeList");
            	if(goodsTypeList == null || goodsTypeList.toString().equals("[]")){
            		out.println("<li align='center'>无分类</li>");
            	}
            	else{
            		for(int i=0;i<goodsTypeList.size();i++){
            			GoodsType gt = goodsTypeList.get(i);
            			String typeName = gt.getTypeName();
            			int Id = gt.getTypeId();
      				%>
              <%-- <%


      			PublicToolShowDetailTypeList.showDetailallTypeList(request, response,gt.getTypeId());

      			ArrayList<GoodsTypeDetail> goodsTypeList1 = (ArrayList<GoodsTypeDetail>)request.getAttribute("goodsDetailallTypeList");
                  	if(goodsTypeList1 == null || goodsTypeList1.toString().equals("[]")){
                  		out.println("<li align='center'>无分类</li>");
                  	}
                  	else{

                  			GoodsTypeDetail gt1 = goodsTypeList1.get(0);
                  			String typeName1 = gt1.getTypeDetailInfo();
                  			int Id=gt1.getId();
                  			%> --%>
              <li><a href="servlet/typelist?typeid=<%=Id%>"> <%=typeName%> </a> </li>
              <%-- <%
                  	}%> --%>
                  	
              <%	}
            }
             %>





    </ul>
  </div>

